/*
    Watchpost - A file monitor program for the GNOME desktop
    Copyright (C) 2006 Andrew Resch

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/
#ifndef INTERFACE_H
#define INTERFACE_H

#include <gtk/gtk.h>
#include <glade/glade.h>
#include <libgnomevfs/gnome-vfs.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gnome.h>

enum {
	MONITOR_LIST_COLUMN_ICON,
	MONITOR_LIST_COLUMN_NAME,
	MONITOR_LIST_NUM_COLUMNS
};

enum {
	MONITOR_RESULTS_COLUMN_ICON,
	MONITOR_RESULTS_COLUMN_NAME,
	MONITOR_RESULTS_COLUMN_EVENT_ICON,
	MONITOR_RESULTS_COLUMN_EVENT,
	MONITOR_RESULTS_COLUMN_TIME,
	MONITOR_RESULTS_NUM_COLUMNS
};

GladeXML *mainwindow_xml, *filechooser_xml, *status_icon_menu_xml, *about_xml, *monitor_list_popup_xml, *results_list_popup_xml;
GtkListStore *monitor_list_list_store;
GtkListStore *monitor_results_list_store;
GtkStatusIcon *status_icon;

void load_interface_files();
void setup_monitor_list_view();
void setup_results_list_view();
void setup_status_icon();

#endif
